package com.zkh.myutils.net;

import com.zkh.myutils.io.log.Logger;
import com.zkh.myutils.net.utils.TransferEvent;
import com.zkh.myutils.net.utils.TransferEventListener;

/**
 * Socket传输日志监听器
 * @author zkh
 */
public class SocketLogListener implements TransferEventListener {

	/**
	 * 发送命令时
	 */
	public void commandSent(TransferEvent event) {
		Logger.debug("命令发送：" + event.getMessage());
	}

	@Override
	public void replyReceived(TransferEvent event) {
		Logger.debug("响应结果：" + event.getMessage());
	}

}
